package VN.EDU.IMIC.DEVELOPER.NGUYENVANTHIEN.EXAM01.Bai1;

public class ControllerTamGiac {
	private HinhTamGiac m_TamGiac;
	private Model m_Model;
	
	public ControllerTamGiac(HinhTamGiac objHTG){
		m_TamGiac=objHTG ;
		m_Model = new Model();
	}
	public double chuViHTG(HinhTamGiac objHTG){
		return m_Model.ChuViTG(m_TamGiac);
	}
	public double dienTichHTG(HinhTamGiac objHTG){
		return m_Model.DienTichTG(m_TamGiac);
	}
}
